from tkinter import *

def button(father, nameof, sitting, command):
    return Button(
        father, command=command,
        width=sitting[nameof]["width"], height=sitting[nameof]["height"],
        font=sitting[nameof]["font"], text=sitting[nameof]["text"],
        activebackground=sitting[nameof]["activebackground"]
    )

def label(father, nameof, sitting, text):
    return Label(
        father,
        textvariable=text,
        width=sitting[nameof]["width"], font=sitting[nameof]["font"]
    )

def entry(father, nameof, sitting):
    return Entry(
        father,
        width=sitting[nameof]["width"],
        font=sitting[nameof]["font"]
    )

def frame(father):
    return Frame(father)